package top.lixunda.books3.service;

import com.sun.istack.internal.NotNull;
import top.lixunda.books3.model.SimpleBook;

import java.util.List;
import java.util.Map;

public interface IndexRecommendService {

    String TYPE_NORMAL = "normal";

    String TYPE_NEW = "new";

    String TYPE_ECONOMY = "economy";

    String TYPE_LETTER = "letter";

    String TYPE_CULTURE = "culture";

    String TYPE_SCIENCE = "science";

    String TYPE_LIVE = "live";

    String TYPE_EXAM = "exam";

    List<SimpleBook> selectUsingSimpleBooksByType(@NotNull String type);

    List<SimpleBook> selectNormalSimpleBooks();

    List<SimpleBook> selectNewSimpleBooks();

    List<SimpleBook> selectEconomySimpleBooks();

    List<SimpleBook> selectLetterSimpleBooks();

    List<SimpleBook> selectCultureSimpleBooks();

    List<SimpleBook> selectScienceSimpleBooks();

    List<SimpleBook> selectLiveSimpleBooks();

    List<SimpleBook> selectExamSimpleBooks();

    Map<String, List<SimpleBook>> selectAllSimpleBooks();

}
